<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <style>
    	body{
    		
    	}
    </style>
</head>
<body>
	
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
	var photoBrowser;
	apiready = function(){
		var pictures = api.pageParam.images;
		var index = api.pageParam.index;
		photoBrowser = api.require('photoBrowser');
		photoBrowser.open({
		    images: pictures,
		    placeholderImg: 'widget://res/img/apicloud.png',
		    activeIndex:index,
		    bgColor: '#000'
		}, function(ret, err) {
		    if(ret.eventType == 'click'){
		    	api.closeWin({
                });
		    }
		});
	};
</script>
</html>